<template>
<div>
  <div class="ss-button" :style="{width,background,color,fontSize,border,boxShadow}" @click="btnClick">
    <span>{{label}}</span>
  </div>
</div>
</template>

<script>
export default {
  props: {
    label: {
      default: '确定',
    },
    width: {
      default: '81px',
    },
    background: {
      default: '#fff',
    },
    color: {
      default: '#EC1917',
    },
    fontSize: {
      default: 14,
    },
    border: {
      default: '1px solid #EC1917',
    },
    boxShadow: {
      default: '0 4px 13px 0 rgba(236,25,23,0.41)',
    },
  },
  methods: {
    btnClick() {
      this.$emit('btnClick');
    },
  },
};
</script>

<style scoped>
.ss-button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 32px;
  border-radius: 16px;
  border-radius: 16px;
  cursor: pointer;
}
</style>
